home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13189 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.compuserve.com!newsmaster
  2. From: <.,@compuserve.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: c++
  5. Date: 24 Mar 1996 04:52:25 GMT
  6. Organization: CompuServe Incorporated
  7. Message-ID: <4j2ke9$4qu@arl-news-svc-3.compuserve.com>
  8. NNTP-Posting-Host: ad28-178.compuserve.com
  9. Content-Type: text/plain
  10. Content-length: 718
  11. X-Newsreader: AIR Mosaic (16-bit) version 4.00.08.32
  12.  
  13.  
  14. >> What is the difference between c and c++.
  15.  
  16.  
  17. actually quite a bit.
  18.   The error checking in c++ is much stronger.
  19.  
  20.   Classes in c++ contain functions, variables, special functions like
  21. constructors.  This gives the class the ability to recieve messages
  22. and figure out to handle them itself.
  23.  
  24.   Inheritance in c++ adds to the ability to reuse code.  You can
  25. derive your new class from another class instead of starting over.
  26.  
  27.   Polymorphism, a hard topic to understand.
  28.  
  29.   Encapsulation.  Keeping all the data private and protected.  This
  30. helps in creating a large and complex project.
  31.  
  32.   I personally think c++ is much better than C.
  33.  
  34.   And there is a lot more to c++ than just these few things.
  35.  
  36.